﻿using System.Windows;

namespace Gavel.ModLink.Applications;

/// <summary>
/// 应用程序交互逻辑
/// </summary>
public partial class App
{
    /// <summary>
    /// 重写应用程序启动
    /// 添加闪屏
    /// </summary>
    /// <param name="e">程序启动入参</param>
    protected override void OnStartup(StartupEventArgs e)
    {
        // 显示内置闪屏（图片路径，建议使用PNG或BMP）
        SplashScreen splash = new SplashScreen("Assets/splash.png");
        splash.Show(true, true);
    }
}